#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int t = 1;
	int t1 = 0;
		while (t<100)
		{
			t1 = t1 + t;
			t = t + 3;
		}
		printf("%d", t1);
	return 0;
}